package cn.hdcon.hdrtc

class RTCHelper {


    /**
     * A native method that is implemented by the 'native-lib' native library,
     * which is packaged with this application.
     */


    companion object {
        external fun stringFromJNI(): String
        // Used to load the 'native-lib' library on application startup.
        @JvmStatic
        external fun loginJNI( username: String,password:String,server:String,port:Int=5060,localport:Int=5060):String
        @JvmStatic
        fun showMessage(msg:String) {
            print(msg);
        }
        init {
            System.loadLibrary("hdrtc-lib")
        }
    }

}